import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-edit-user',
  templateUrl: './edit-user.component.html',
  styleUrls: ['./edit-user.component.css']
})
export class EditUserComponent implements OnInit {
  registerForm: any;

  constructor() { }

  ngOnInit(): void {
  }

  onSubmit() {
    this.http.post('user',this.registerForm.value).subscribe(result =>)
  }
}
